Skip to content

Fix SVD implementation#14

Merged
jordanmontt merged 3 commits intoPolyMathOrg:masterfrom
DurieuxPol:fix/svd
Mar 18, 2026
Merged

Fix SVD implementation#14
jordanmontt merged 3 commits intoPolyMathOrg:masterfrom
DurieuxPol:fix/svd

Conversation

@DurieuxPol
Copy link
Contributor

@DurieuxPol DurieuxPol commented Mar 13, 2026

Fixes pharo-ai/linear-models#27

Fixes the SVD implementation by computing left singular vectors from the right singular vectors, rather than computing them both separately, to prevent potential sign errors.

@jordanmontt
Copy link
Member

Cool, could you add some tests? :D

@DurieuxPol
Copy link
Contributor Author

It's planned ! I have still some things to clean up as well, I will do all that next week

@jordanmontt
Copy link
Member

Ok! I will mark the PR as a draft then. And when it will be finished we can marge it

@jordanmontt jordanmontt marked this pull request as draft March 13, 2026 16:23
@DurieuxPol DurieuxPol marked this pull request as ready for review March 16, 2026 16:35
@jordanmontt jordanmontt merged commit c2b7633 into PolyMathOrg:master Mar 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AILinearRegressionLeastSquaresVanilla is still broken

2 participants